package com.tsxy.service.impl;

import com.tsxy.entity.College;
import com.tsxy.mapper.CollegeMapper;
import com.tsxy.service.ICollegeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 飞
 * @since 2022-03-22
 */
@Service
public class CollegeServiceImpl extends ServiceImpl<CollegeMapper, College> implements ICollegeService {

    @Autowired
    private CollegeMapper  collegeMapper;
    @Override
    public List getAll() {
        return collegeMapper.getAll();
    }
}
